#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H

#include <QPushButton>
#include <QWidget>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    explicit MyPushButton(QWidget *parent = nullptr);

    //构造函数  参数：正常显示的图片路径+按下后显示的路径
    MyPushButton(QString normalImg,QString pressImg="");

    QString noemalImgPath;
    QString pressImgPath;



signals:
};

#endif // MYPUSHBUTTON_H
